<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 600px;
            height: 80px;
            margin: 0px auto;
            margin-top: 10px;
            border: 1px solid black;
        }
        .b1{

            background-image: linear-gradient(45deg,yellow 0% ,yellow 25%, blue 25% ,blue 50%,red 50%,red 75%,green 75%,green 100%);
        }
        .b2{
            background-image: linear-gradient(90deg,black 0%, black 25%,white 25%,white 50% ,black 50%, 75% ,white 75%, white 100%);
        }
        .b3{
            border: none;
            font-size: 55px;
            font-weight: bolder;
            background: linear-gradient(45deg,orange 0%,orange 33%,blue 33%,blue 66%,red 66%,red 100%);
            background-clip:text;
            -webkit-text-fill-color: transparent;
        }
        .o1{
            border: none;
            height: 20px;
            background-image: repeating-linear-gradient(to right,rgb(245, 101, 101) 0,rgb(245, 101, 101)20px,pink 20px,pink 40px);
        }
        .o2{
            border: none;
            height: 20px;
            background-image: repeating-linear-gradient(to right,pink 0,pink 20px,white 20px,white 40px);
        }
    </style>
</head>
<body>
    <div class="b1"></div>
    <div class="b2"></div>
    <div class="b3"><p>中华人民共和国</p></div>
    <div class="b4"></div>
    <script>
        for (let i = 0; i < 10; i++) {
        document.write(`
            <div class="o1"></div>
            <div class="o2"></div>   
        `)
        }  
    </script>
</body>
</html>